from images import aSprite
from Stats import Stats

class Player(aSprite):
    stats = Stats()
    
    def __init__(self, fName, w, h, fps=100):
        tmp = pygame.image.load(pathImages + fName)
        
        tmpRect = tmp.get_rect()
        self.sheetW = tmpRect.right
        self.sheetH = tmpRect.bottom
        
        tmpRect = pygame.Rect(0, 0, w, h)
        
        self._rectangle = tmpRect
        
        self.x = 0
        self.y = 0
        self.w = w
        self.h = h
        
        self.fps = fps
        
        self._split(tmp)
    
    def Attack(self):
        pass
    
    def Defend(self):
        pass